/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package query.parser;

import java.util.ArrayList;
import java.util.List;
import query.parser.entities.Field;
import query.parser.entities.Join;
import query.parser.entities.Table;

/**
 *
 * @author dzb
 */
public class AbstractStatement implements IStatement {

	private boolean terminated;
	private List<Field> fields = new ArrayList<Field>();
	private List<Join> joins = new ArrayList<Join>();
	private List<Table> from = new ArrayList<Table>();
	private IExpression where;

	public boolean isTerminated() {
		return terminated;
	}

	public void setTerminated(boolean b) {
		terminated = b;
	}

	public List<Field> getFields() {
		return fields;
	}

	public List<Join> getJoins() {
		return joins;
	}

	public List<Table> getFrom() {
		return from;
	}

	public IExpression getWhere() {
		return where;
	}

	public String getValue() {
		return "";
	}
}
